package com.coocaa.ops.admin.v1.dmp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.coocaa.ops.common.core.base.entity.BaseEntity;
import lombok.Data;

/**
 * @author bijiahao
 * @date : 2018/10/12.
 * @description: 用户与禁用的标签关联信息实体类
 *
 */
@Data
@TableName("sys_user_disable_tag_rls")
public class SysUserDisableTagRlsEntity extends BaseEntity {

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;
    /**
     * 角色ID
     */
    private Integer roleId;
    /**
     * 标签ID
     */
    private Integer tagId;
    /**
     * 标签类型
     */
    private String type;

    public SysUserDisableTagRlsEntity() {
    }

    public SysUserDisableTagRlsEntity(Integer roleId, Integer tagId, String type) {
        this.roleId = roleId;
        this.tagId = tagId;
        this.type = type;
    }

    public static SysUserDisableTagRlsEntity getSysUserDisableTagRlsEntity(Integer roleId, Integer tagId, String type) {
        return new SysUserDisableTagRlsEntity(roleId, tagId, type);
    }
}
